﻿using System;
namespace CSharp.Basic.Learn.EventBus.Example
{
  public class FishingEventHandler : IEventHandler<FishingEventData>
  {
    public void Handle(FishingEventData eventData)
    {
      Console.WriteLine("FishingEventHandler=> FishCount = " + eventData.FishCount);
    }
  }

  public class FishingEvent2Handler : IEventHandler<FishingEventData>
  {
    public void Handle(FishingEventData eventData)
    {
      Console.WriteLine("FishingEvent2Handler=> FishCount = " + eventData.FishCount);
    }
  }


  public class FishingEventHandler2 : IEventHandler<FishingEventData2>
  {
    public void Handle(FishingEventData2 eventData)
    {
      Console.WriteLine("FishingEventHandler2 FishingEventData2");
    }
  }
}
